<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>小谭的部落阁 - 把平凡的生活变得得不平凡</title><meta name="keywords" content="废物大学生 小渣渣"><meta name="author" content="谭自财"><meta name="copyright" content="谭自财"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="你别卷入世俗，我别沉迷初遇">
<meta property="og:type" content="website">
<meta property="og:title" content="小谭的部落阁">
<meta property="og:url" content="https://tanzicai.gitee.io/index.html">
<meta property="og:site_name" content="小谭的部落阁">
<meta property="og:description" content="你别卷入世俗，我别沉迷初遇">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://gitee.com/tanzicai/drawingbed/raw/master/img/20210609205810.png">
<meta property="article:author" content="谭自财">
<meta property="article:tag" content="废物大学生 小渣渣">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://gitee.com/tanzicai/drawingbed/raw/master/img/20210609205810.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://tanzicai.gitee.io/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><meta/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"简"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '小谭的部落阁',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2022-02-09 17:16:16'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const fontSizeVal = saveToLocal.get('global-font-size')
    if (fontSizeVal !== undefined) {
      document.documentElement.style.setProperty('--global-font-size', fontSizeVal + 'px')
    }
    })(window)</script><meta name="generator" content="Hexo 5.4.0"><link rel="alternate" href="/atom.xml" title="小谭的部落阁" type="application/atom+xml">
</head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="https://gitee.com/tanzicai/drawingbed/raw/master/img/20210609205810.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">35</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">50</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">12</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标籤</span></a></div><div class="menus_item"><a class="site-page" href="/category/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/fridends/"><i class="fa-fw fa fa-heartbeat"></i><span> 朋友圈</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/download/"><i class="fa-fw fas fa--cloud-download"></i><span> 下载</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-hear"></i><span> 关于</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('https://z3.ax1x.com/2021/06/10/22gnrF.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">小谭的部落阁</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标籤</span></a></div><div class="menus_item"><a class="site-page" href="/category/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/fridends/"><i class="fa-fw fa fa-heartbeat"></i><span> 朋友圈</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/download/"><i class="fa-fw fas fa--cloud-download"></i><span> 下载</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-hear"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">小谭的部落阁</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/tanzicai" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="https://gitee.com/tanzicai" target="_blank" title="Github"><i class="fab fa-git-square"></i></a><a class="social-icon" href="http://wpa.qq.com/msgrd?v=3&amp;uin=1728561744&amp;site=qq&amp;menu=yes" target="_blank" title="QQ"><i class="fas fa-qq"></i></a><a class="social-icon" href="mailto:1728561744@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2022/02/10/%E5%B8%B8%E7%94%A8%E7%B1%BB/" title="Java常用类">     <img class="post_bg" src="https://gitee.com/tanzicai/file-pan/raw/master/img/20220209171157.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java常用类"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/02/10/%E5%B8%B8%E7%94%A8%E7%B1%BB/" title="Java常用类">Java常用类</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-02-10T12:25:00.000Z" title="发表于 2022-02-10 20:25:00">2022-02-10</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%90%8E%E7%AB%AF/">后端</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Java/">Java</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E5%B8%B8%E7%94%A8%E7%B1%BB/">常用类</a></span></div><div class="content">常用类前言面向对象相关的知识，也算正式踏入了Java开发的大门了，那么后面的课程都属于是高级部分学习了！我们会学习：常用类，集合框架，IO流，多线程，网络编程，注解和反射，以及GUI编程！其实，Java的学习，除了思想，本质还是在学习一个个类的使用！首先，我们要学习Math类，这里面有许多关于数学操作的方法，然后我们会学习时间和日期类，使用Java来获得时间相关的对象，然后会给大家讲解String类，这个我们从学java的第一天就接触的类，我们其实并未真正的了解，包括它的一些扩展StringBuilder 和 StringBuffffer，接下来就是我们的包装类了，之前学习的8大基本数据类型都有其对应的包装类，还有自动装箱和拆箱的原理，我们需要知道。然后就是所有类的老祖宗类：Object的探究及分析，最后给大家讲讲File类，为之后会学习的IO流打个基础！这些就是我们这个阶段会学习的一些东西了！是一个很重要的阶段，以后开发中，这些都是天天用的东西，不能不会！
Object类大家都知道Object是所有类的父类，任何类都默认继承Object。理论上Object类是所有类的父类，即直接或间 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2022/02/09/%E5%BC%82%E5%B8%B8/" title="Java异常">     <img class="post_bg" src="/img/survivors_v03_5120x2880.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java异常"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/02/09/%E5%BC%82%E5%B8%B8/" title="Java异常">Java异常</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-02-09T13:25:00.000Z" title="发表于 2022-02-09 21:25:00">2022-02-09</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%90%8E%E7%AB%AF/">后端</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Java/">Java</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E5%BC%82%E5%B8%B8/">异常</a></span></div><div class="content">异常异常体系结构异常定义实际工作中，遇到的情况不可能是非常完美的。比如你的某个模块，用户输入的不一定符合你的要求，你的程序要打开某个文件，这个文件可能不存在或者文件格式不对，你要读取数据库的数据，数据可能是空的等，我们的程序再跑着，内存或者硬盘可能满了，等等。

软件程序在运行过程中，非常可能遇到刚刚提到的这些异常问题，我们叫做异常，英文叫做Exception，意识是例外。这些例外，或者叫异常，怎么让我们写的程序作出合理的处理。异常指程序运行中出现的不期而至的各种情况，如文件找不到，网络连接失败，非法参数等

异常发生在程序运行期间，它影响了正常的程序执行流程。
java把异常当做对象来处理，并定义一个基类 java.lang.Throwable作为所有异常的超类。在java api中已经定义了许多异常类，这些异常类分为两大类，错误Error和异常Exception.
Error类对象由Java虚拟机生成和抛出，大多数错误与代码编写者所执行的操作无关
Java虚拟机运行错误(Virtual MachineError), 当JVM不再继续执行操作所需要得内存资源时，将出现OutOfMem ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2022/02/09/%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B/" title="Java面向对象编程">     <img class="post_bg" src="/img/CTTN.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java面向对象编程"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/02/09/%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B/" title="Java面向对象编程">Java面向对象编程</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-02-09T13:25:00.000Z" title="发表于 2022-02-09 21:25:00">2022-02-09</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%90%8E%E7%AB%AF/">后端</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Java/">Java</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B/">面向对象编程</a></span></div><div class="content">面向对象编程初识面向对象属性+方法 构成一个类
物以类聚： 分类的思维模式，思考问题首先解决问题需要哪些分类，然后对这些分类进行独立思考，最后，才对某个分类下的细节进行过程的思考
面向过程适合处理复杂的问题，适合处理需要多人协作的问题
对于描述复杂的事务，为了从宏观上把握，从整体上合理分析，我们需要使用面向对象的思路来分析整个系统，但是具体到微观操作，仍然需要面向过程的思路去处理
面向对象编程的本质是： 以**类**的方式组织代码，以**对象**的组织封装数据
抽象–student manage
一个类里面可以有多个class，但是只能有一个public class，如果一个文件多个public类，
错误提示：
Class ‘Person1’is public，should be declared in a file named &#x27;Person1.java&#x27;


三大特性

封装 
继承 
多态

从认识事务的角度考虑是先有对象后有类，对象，是具体的事务，类，是抽象的，是对对象的抽象
从代码运行角度考虑，先有类后有对象，类是对象的模板；
创建对象 使用new关键字
 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2022/02/09/%E6%95%B0%E7%BB%84%E8%AF%A6%E8%A7%A3/" title="Java数组详解">     <img class="post_bg" src="/img/CNYN.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java数组详解"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/02/09/%E6%95%B0%E7%BB%84%E8%AF%A6%E8%A7%A3/" title="Java数组详解">Java数组详解</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-02-09T13:25:00.000Z" title="发表于 2022-02-09 21:25:00">2022-02-09</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%90%8E%E7%AB%AF/">后端</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Java/">Java</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E6%95%B0%E7%BB%84%E8%AF%A6%E8%A7%A3/">数组详解</a></span></div><div class="content">数组详解数组概述数组是相同类型数据的有序集合；
数组描述的是相同类型的若干数据，按照一定的先后次序排列组合而成；
其中每个数据成为一个数组元素，每个数组元素可以通过下标来访问他们；
数组声明创建首先必须声明数组变量，才能在程序中使用数组，声明数组的语法
dataType [] arrayRefVar; //首选的方法dataType arrayRefVar[];  //效果相同，但不是首选方法  


JAVA语言使用new操作符来创建数组，语法如下:
dataType [] arrayRefVar = new dataType[arraySize];  


数组的元素通过索引来进行访问，数组索引是从0号开始。
获取数组的长度 arrays.length
示例代码:
package array;public class Demo2 &#123;    public static void main(String[] args) &#123;        int[] nums; //声明一个int类型数组        nums = new int[10]; //创建一个数组     ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2022/02/09/%E6%96%B9%E6%B3%95%E8%AF%A6%E8%A7%A3/" title="Java方法详解">     <img class="post_bg" src="/img/WHT.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java方法详解"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/02/09/%E6%96%B9%E6%B3%95%E8%AF%A6%E8%A7%A3/" title="Java方法详解">Java方法详解</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-02-09T12:25:00.000Z" title="发表于 2022-02-09 20:25:00">2022-02-09</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%90%8E%E7%AB%AF/">后端</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Java/">Java</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E6%96%B9%E6%B3%95%E8%AF%A6%E8%A7%A3/">方法详解</a></span></div><div class="content">方法详解方法定义设计方法的原则，方法的本意是功能块，就是实现某个功能的语句块的集合。我们设计方法的时候，最好保持方法的原子性，就是一个方法只能完成1个功能，这样有利于我们后期的扩展。
语法修饰符[public private] [static/可选] 返回值类型 方法名(参数类型 参数名，参数类型 参数名.....)&#123;  ...    方法体    ...  return 返回值;&#125;


示例代码
package method;public class Demo01 &#123;    //main方法    public static void main(String[] args) &#123;        int sum = add(1,2);        System.out.println(sum);    &#125;    //修饰符 返回类型 参数列表    public static int add(int a, int b) &#123;        return a + b;    &#125;&#125;


方法的定义和调用用一些代码 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2022/02/09/Java%E6%B5%81%E7%A8%8B/" title="Java流程">     <img class="post_bg" src="https://gitee.com/tanzicai/file-pan/raw/master/img/20220209170711.com&amp;app=2002&amp;size=f9999,10000&amp;q=a80&amp;n=0&amp;g=0n&amp;fmt=jpeg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java流程"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/02/09/Java%E6%B5%81%E7%A8%8B/" title="Java流程">Java流程</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-02-09T11:25:00.000Z" title="发表于 2022-02-09 19:25:00">2022-02-09</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%90%8E%E7%AB%AF/">后端</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Java/">Java</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E6%B5%81%E7%A8%8B%E6%8E%A7%E5%88%B6/">流程控制</a></span></div><div class="content">Java流程输入类-Scannerscanner, java.util.Scanner，在java5的新特性，我们可以通过Scanner类来获取用户的输入。
基本的语法： 
Scanner s = new Scanner([System.in](http://System.in));


通过Scanner类的netx()和nextLine()方法来获取输入的字符串，在读取前我们一般需要使用hasNext()和hasNextLine()判断是否还有输入的数据
package scanner;import java.util.Scanner;public class Demo1 &#123;    public static void main(String[] args) a&#123;        //创建一个扫描器对象，用于接收键盘数据        Scanner scanner =new Scanner(System.in);        System.out.println(&quot;使用next方式进行接收:&quot;);        //判断用户有没有输入字符串 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2022/02/09/JAVA%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/" title="Java知识">     <img class="post_bg" src="https://gitee.com/tanzicai/file-pan/raw/master/img/20220209165412.jpeg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java知识"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/02/09/JAVA%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/" title="Java知识">Java知识</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta__separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-02-09T09:51:01.000Z" title="发表于 2022-02-09 17:51:01">2022-02-09</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%90%8E%E7%AB%AF/">后端</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Java/">Java</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/JavaCore/">JavaCore</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/Java%E5%9F%BA%E7%A1%80/">Java基础</a></span></div><div class="content">JAVA基础语法注释、标识符、关键字

注释(Comments),在语言中并不会执行，给编写者和开发者阅读的文字，帮助编写者和开发者理解功能的意义，java有三种类型的注释,书写注释是一个非常好的习惯!
单行注释(Line comment)： // 在java用两个斜线记做单行注释 //这是一个java代码的单行注释，使用两条反斜杠  
块注释/多行注释(Block comment)： /* */ 在java中用反斜杠加 *的方式来表示块注释 /**/ 可以注释多行文本
文档注释(JavaDoc):/** */来表示JavaDoc，里面可以加描述平时写代码一定要注意规范。


关键字：一共53个关键字，Java所有的组成部分都需要名字。类名、变量名和方法名都被称为标识符。  其中51个关键字，2个保留字  关键字+保留字：  访问控制:private 私有的   protected 受保护的   public 公共的类、方法和变量修饰符abstract 声明抽象  class 类  extends 扩允,继承   final 终极,不可改变的implements实现   interfa ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2022/01/17/%E5%81%87%E6%9C%9F%E8%AE%A1%E5%88%92-%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%BC%80%E5%8F%91%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84/" title="假期计划-小程序开发目录结构">     <img class="post_bg" src="/img/survivors_v02_5120x2880.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="假期计划-小程序开发目录结构"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/01/17/%E5%81%87%E6%9C%9F%E8%AE%A1%E5%88%92-%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%BC%80%E5%8F%91%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84/" title="假期计划-小程序开发目录结构">假期计划-小程序开发目录结构</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-01-17T01:25:00.000Z" title="发表于 2022-01-17 09:25:00">2022-01-17</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%89%8D%E7%AB%AF/">前端</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E5%BE%AE%E4%BF%A1/">微信</a></span></div><div class="content">day01 微信小程序1. 问题
什么是微信小程序？
- 移动互联网时代，手机。 - 手机软件，在手机上中安装很多软件。- 腾讯和阿里（只安装自己不用别人）  - 腾讯：微信 + N小程序  - 阿里：支付宝 + N小程序
为什么要做小程序？
微信用户基数大。在微信上用我们小程序会比较便捷。
如何开发小程序？

 

小程序：学习微信开发的语言（前端html、css、js、vue.js）

微信开发者工具


API：restful接口（Python+django+drf框架）。

pycharm



2.环境的搭建2.1 Python环境
虚拟环境
django
drf


pycharm

2.2 小程序环境2.2.1 申请一个微信公众平台
2.2.2 保存自己的appidappid = wx1a3fac0e7easdfffs

2.2.3 下载开发者工具

2.2.4 创建项目


3.开发小程序3.1 全局配置&#123;  &quot;pages&quot;: [    &quot;pages/index/index&quot;,    &quot;pages/home/h ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/07/28/%E5%9F%BA%E4%BA%8EJava%E8%BF%9B%E8%A1%8Cexcel%E6%95%B0%E6%8D%AE%E5%A4%84%E7%90%86/" title="基于Java语言的excel文件合成操作">     <img class="post_bg" src="/img/ERTH.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="基于Java语言的excel文件合成操作"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/07/28/%E5%9F%BA%E4%BA%8EJava%E8%BF%9B%E8%A1%8Cexcel%E6%95%B0%E6%8D%AE%E5%A4%84%E7%90%86/" title="基于Java语言的excel文件合成操作">基于Java语言的excel文件合成操作</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-07-28T08:06:49.939Z" title="发表于 2021-07-28 16:06:49">2021-07-28</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/excel%E6%93%8D%E4%BD%9C/">excel操作</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/excel/">excel</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E6%96%87%E4%BB%B6%E6%93%8D%E4%BD%9C/">文件操作</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E6%95%B0%E6%8D%AE%E5%90%88%E5%B9%B6/">数据合并</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/R%E8%AF%AD%E8%A8%80/">R语言</a></span></div><div class="content">Java 嵌入 SPL 轻松实现 Excel 文件合并
 转载自Smile转载源地址：    https://zhuanlan.zhihu.com/p/54543045Smile

大多数JAVA程序猿都选择使用POI或者HSSFWorkbook等第三方类库来实现Excel自动化合并，这样一来不仅需要噼里啪啦的敲好多代码，费事费力，而且用起来灵活度也不高，对Excel的格式要求也很严格。如果能有一个专用的外部数据工具，写简单类似SQL的脚本来实现，然后在JAVA中直接调用并返回结果集，就再好不过了。润乾集算器就是这样的机制，通过使用JDBC调用SPL脚本，使用起来方便快捷，下面就来学习下具体如何使用。
SPL实现常规合并：
A. 同一个 excel 中的多个Sheet表合并
下面的例子是一个包含了销售数据的 excel 文件，其中包含了按月划分的 3 个结构相同的 sheet 工作表，数据如下：
January_2013:

February_2013:

March_2013:

在合并3个Sheet的同时，我们还可以同时从每个sheet中筛选出字段Customer Name, Sa ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/07/28/%E5%9F%BA%E4%BA%8ER%E8%AF%AD%E8%A8%80%E7%9A%84excel%E5%90%88%E5%B9%B6%E6%93%8D%E4%BD%9C/" title="基于R语言的excel文件合成操作">     <img class="post_bg" src="/img/BRLY.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="基于R语言的excel文件合成操作"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/07/28/%E5%9F%BA%E4%BA%8ER%E8%AF%AD%E8%A8%80%E7%9A%84excel%E5%90%88%E5%B9%B6%E6%93%8D%E4%BD%9C/" title="基于R语言的excel文件合成操作">基于R语言的excel文件合成操作</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-07-28T08:06:49.939Z" title="发表于 2021-07-28 16:06:49">2021-07-28</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/excel%E6%93%8D%E4%BD%9C/">excel操作</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/excel/">excel</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E6%96%87%E4%BB%B6%E6%93%8D%E4%BD%9C/">文件操作</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E6%95%B0%E6%8D%AE%E5%90%88%E5%B9%B6/">数据合并</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/R%E8%AF%AD%E8%A8%80/">R语言</a></span></div><div class="content">主要实现效果
元数据文件



元数据文件2



合成后文件


安装需要的包#读写excel1文件相关的包install.packages(&quot;readxl&quot;)#对数据进行整理的包，包括管道符号的使用install.packages(&quot;tidyverse&quot;)

数据处理#记得切换工作目录list.files(pattern = &quot;*.xlsx&quot;,full.names = TRUE)%&gt;%lapply(readxl::read_excel)%&gt;%reduce(full_join,by=&quot;miRNA&quot;)%&gt;%arrange(miRNA)%&gt;%select(contains(&quot;RNA&quot;)|contains(&quot;Gene&quot;))-&gt;dfdf = df[!is.na(df$Gene),]write.csv(df,file = &quot;处理后数据.csv&quot;,quote = F ,row.names=T,na=&quot;&quot;)&# ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/#content-inner">2</a><span class="space">&hellip;</span><a class="page-number" href="/page/4/#content-inner">4</a><a class="extend next" rel="next" href="/page/2/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-info-avatar is-center"><img class="avatar-img" src="https://gitee.com/tanzicai/drawingbed/raw/master/img/20210609205810.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">谭自财</div><div class="author-info__description">你别卷入世俗，我别沉迷初遇</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">35</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">50</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">12</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/tanzicai"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/tanzicai" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="https://gitee.com/tanzicai" target="_blank" title="Github"><i class="fab fa-git-square"></i></a><a class="social-icon" href="http://wpa.qq.com/msgrd?v=3&amp;uin=1728561744&amp;site=qq&amp;menu=yes" target="_blank" title="QQ"><i class="fas fa-qq"></i></a><a class="social-icon" href="mailto:1728561744@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">本站正在切换主题测试，如有错误提示，请联系我，谢谢</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2022/02/10/%E5%B8%B8%E7%94%A8%E7%B1%BB/" title="Java常用类"><img src="https://gitee.com/tanzicai/file-pan/raw/master/img/20220209171157.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java常用类"/></a><div class="content"><a class="title" href="/2022/02/10/%E5%B8%B8%E7%94%A8%E7%B1%BB/" title="Java常用类">Java常用类</a><time datetime="2022-02-10T12:25:00.000Z" title="发表于 2022-02-10 20:25:00">2022-02-10</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/02/09/%E5%BC%82%E5%B8%B8/" title="Java异常"><img src="/img/survivors_v03_5120x2880.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java异常"/></a><div class="content"><a class="title" href="/2022/02/09/%E5%BC%82%E5%B8%B8/" title="Java异常">Java异常</a><time datetime="2022-02-09T13:25:00.000Z" title="发表于 2022-02-09 21:25:00">2022-02-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/02/09/%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B/" title="Java面向对象编程"><img src="/img/CTTN.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java面向对象编程"/></a><div class="content"><a class="title" href="/2022/02/09/%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B/" title="Java面向对象编程">Java面向对象编程</a><time datetime="2022-02-09T13:25:00.000Z" title="发表于 2022-02-09 21:25:00">2022-02-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/02/09/%E6%95%B0%E7%BB%84%E8%AF%A6%E8%A7%A3/" title="Java数组详解"><img src="/img/CNYN.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java数组详解"/></a><div class="content"><a class="title" href="/2022/02/09/%E6%95%B0%E7%BB%84%E8%AF%A6%E8%A7%A3/" title="Java数组详解">Java数组详解</a><time datetime="2022-02-09T13:25:00.000Z" title="发表于 2022-02-09 21:25:00">2022-02-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/02/09/%E6%96%B9%E6%B3%95%E8%AF%A6%E8%A7%A3/" title="Java方法详解"><img src="/img/WHT.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java方法详解"/></a><div class="content"><a class="title" href="/2022/02/09/%E6%96%B9%E6%B3%95%E8%AF%A6%E8%A7%A3/" title="Java方法详解">Java方法详解</a><time datetime="2022-02-09T12:25:00.000Z" title="发表于 2022-02-09 20:25:00">2022-02-09</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            <a class="card-more-btn" href="/categories/" title="查看更多">
    <i class="fas fa-angle-right"></i></a>
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Java/"><span class="card-category-list-name">Java</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/excel%E6%93%8D%E4%BD%9C/"><span class="card-category-list-name">excel操作</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%89%8D%E7%AB%AF/"><span class="card-category-list-name">前端</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%8C%BB%E5%AD%A6%E7%BB%9F%E8%AE%A1/"><span class="card-category-list-name">医学统计</span><span class="card-category-list-count">9</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%90%8E%E7%AB%AF/"><span class="card-category-list-name">后端</span><span class="card-category-list-count">7</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%A4%A7%E5%AD%A6%E8%AF%BE%E7%A8%8B%E7%AC%94%E8%AE%B0/"><span class="card-category-list-name">大学课程笔记</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%B7%A5%E5%85%B7/"><span class="card-category-list-name">工具</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/"><span class="card-category-list-name">数据结构与算法</span><span class="card-category-list-count">2</span></a></li>
            </ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/%E5%AE%9E%E8%B7%B5/" style="font-size: 1.15em; color: rgb(106, 71, 182)">实践</a><a href="/tags/Java/" style="font-size: 1.45em; color: rgb(53, 169, 6)">Java</a><a href="/tags/%E6%97%B6%E9%92%9F/" style="font-size: 1.15em; color: rgb(57, 152, 178)">时钟</a><a href="/tags/markdown/" style="font-size: 1.15em; color: rgb(96, 135, 100)">markdown</a><a href="/tags/%E5%AD%A6%E4%B9%A0%E8%B7%AF%E7%BA%BF/" style="font-size: 1.15em; color: rgb(41, 9, 48)">学习路线</a><a href="/tags/%E8%A7%84%E5%88%92/" style="font-size: 1.15em; color: rgb(157, 171, 193)">规划</a><a href="/tags/TCGA/" style="font-size: 1.39em; color: rgb(135, 179, 17)">TCGA</a><a href="/tags/%E5%B7%A5%E5%85%B7/" style="font-size: 1.21em; color: rgb(14, 19, 94)">工具</a><a href="/tags/%E8%AE%BA%E6%96%87/" style="font-size: 1.21em; color: rgb(186, 139, 46)">论文</a><a href="/tags/%E5%85%AC%E5%BC%8F/" style="font-size: 1.21em; color: rgb(120, 95, 111)">公式</a><a href="/tags/latex/" style="font-size: 1.21em; color: rgb(133, 200, 117)">latex</a><a href="/tags/%E5%89%8D%E7%AB%AF/" style="font-size: 1.15em; color: rgb(1, 151, 15)">前端</a><a href="/tags/HTML/" style="font-size: 1.15em; color: rgb(25, 46, 45)">HTML</a><a href="/tags/%E5%A4%8D%E4%B9%A0/" style="font-size: 1.15em; color: rgb(78, 132, 37)">复习</a><a href="/tags/RNA-Seq/" style="font-size: 1.33em; color: rgb(188, 112, 62)">RNA-Seq</a><a href="/tags/%E6%B8%85%E5%8D%95/" style="font-size: 1.15em; color: rgb(165, 110, 93)">清单</a><a href="/tags/%E5%AD%A6%E4%B9%A0%E6%96%B9%E5%90%91/" style="font-size: 1.15em; color: rgb(167, 79, 68)">学习方向</a><a href="/tags/%E6%8A%80%E8%83%BD/" style="font-size: 1.15em; color: rgb(19, 162, 160)">技能</a><a href="/tags/%E6%95%B0%E6%8D%AE%E4%B8%8B%E8%BD%BD/" style="font-size: 1.15em; color: rgb(109, 89, 56)">数据下载</a><a href="/tags/%E4%BF%A1%E5%8F%B7%E4%B8%8E%E7%B3%BB%E7%BB%9F/" style="font-size: 1.15em; color: rgb(72, 19, 37)">信号与系统</a><a href="/tags/excel/" style="font-size: 1.21em; color: rgb(176, 12, 115)">excel</a><a href="/tags/%E6%96%87%E4%BB%B6%E6%93%8D%E4%BD%9C/" style="font-size: 1.21em; color: rgb(119, 24, 99)">文件操作</a><a href="/tags/%E6%95%B0%E6%8D%AE%E5%90%88%E5%B9%B6/" style="font-size: 1.21em; color: rgb(129, 162, 136)">数据合并</a><a href="/tags/R%E8%AF%AD%E8%A8%80/" style="font-size: 1.21em; color: rgb(134, 109, 200)">R语言</a><a href="/tags/%E8%82%BE%E7%99%8C/" style="font-size: 1.27em; color: rgb(92, 42, 162)">肾癌</a><a href="/tags/%E9%87%8D%E5%BA%86%E9%82%AE%E7%94%B5%E5%A4%A7%E5%AD%A6/" style="font-size: 1.21em; color: rgb(33, 71, 130)">重庆邮电大学</a><a href="/tags/%E6%94%BF%E7%AD%96%E8%A7%84%E5%AE%9A/" style="font-size: 1.21em; color: rgb(117, 33, 162)">政策规定</a><a href="/tags/%E8%A7%84%E7%AB%A0%E5%88%B6%E5%BA%A6/" style="font-size: 1.21em; color: rgb(117, 171, 91)">规章制度</a><a href="/tags/%E6%95%99%E5%AD%A6%E8%BF%90%E8%A1%8C/" style="font-size: 1.21em; color: rgb(158, 80, 15)">教学运行</a><a href="/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/" style="font-size: 1.15em; color: rgb(38, 38, 193)">计算机</a><a href="/tags/%E7%BD%91%E7%BB%9C/" style="font-size: 1.15em; color: rgb(18, 33, 194)">网络</a><a href="/tags/%E6%A6%82%E8%BF%B0/" style="font-size: 1.15em; color: rgb(80, 135, 53)">概述</a><a href="/tags/%E7%AC%AC%E4%B8%80%E7%AB%A0/" style="font-size: 1.15em; color: rgb(180, 174, 107)">第一章</a><a href="/tags/%E6%95%99%E5%B8%88%E8%B5%84%E6%A0%BC%E8%AF%81/" style="font-size: 1.15em; color: rgb(171, 158, 142)">教师资格证</a><a href="/tags/%E7%89%A9%E7%90%86/" style="font-size: 1.15em; color: rgb(156, 181, 168)">物理</a><a href="/tags/%E4%BF%A1%E6%81%AF/" style="font-size: 1.15em; color: rgb(181, 158, 25)">信息</a><a href="/tags/%E8%80%83%E8%AF%95%E7%9B%B8%E5%85%B3%E4%BF%A1%E6%81%AF/" style="font-size: 1.15em; color: rgb(128, 4, 104)">考试相关信息</a><a href="/tags/%E7%AC%94%E8%AE%B0/" style="font-size: 1.15em; color: rgb(78, 198, 52)">笔记</a><a href="/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" style="font-size: 1.15em; color: rgb(43, 76, 94)">数据结构</a><a href="/tags/%E7%AE%97%E6%B3%95/" style="font-size: 1.15em; color: rgb(186, 58, 52)">算法</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
    <i class="fas fa-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/02/"><span class="card-archive-list-date">二月 2022</span><span class="card-archive-list-count">7</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/01/"><span class="card-archive-list-date">一月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/07/"><span class="card-archive-list-date">七月 2021</span><span class="card-archive-list-count">3</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/06/"><span class="card-archive-list-date">六月 2021</span><span class="card-archive-list-count">5</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/05/"><span class="card-archive-list-date">五月 2021</span><span class="card-archive-list-count">8</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/04/"><span class="card-archive-list-date">四月 2021</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/03/"><span class="card-archive-list-date">三月 2021</span><span class="card-archive-list-count">7</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/09/"><span class="card-archive-list-date">九月 2020</span><span class="card-archive-list-count">1</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">35</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2020-09-06T16:00:00.000Z"></div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2022-02-09T09:16:16.510Z"></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://z3.ax1x.com/2021/06/10/22gnrF.jpg')"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2022 By 谭自财</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">欢迎进入 <a href="https://tanzicai.gitee.io">小谭的部落阁</a>!</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="font-plus" type="button" title="放大字体"><i class="fas fa-plus"></i></button><button id="font-minus" type="button" title="缩小字体"><i class="fas fa-minus"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"><script>function subtitleType () {
  if (true) { 
    var typed = new Typed("#subtitle", {
      strings: "请 你 要 发 光&#44 ; 而 不 是 被 照 亮,Please shine your light. Instead of being illuminated".split(","),
      startDelay: 300,
      typeSpeed: 150,
      loop: true,
      backSpeed: 50
    })
  } else {
    document.getElementById("subtitle").innerHTML = '请 你 要 发 光&#44 ; 而 不 是 被 照 亮'
  }
}

if (true) {
  if (typeof Typed === 'function') {
    subtitleType()
  } else {
    getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
  }
} else {
  subtitleType()
}</script></div><script id="click-heart" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/click-heart.min.js" async="async" mobile="false"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>